<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>客户管理</title>
    <script src="http://localhost:10000/js/jquery-1.11.3.min.js"></script>
<!--  <script type="text/javascript" src="http://localhost:10000/js/cusSys.js"></script>-->
    <style>
    #td1{
        width: 90%;
    background: #EEFFC2;
    }
    </style>
</head>
<body>
<!---->


<table >
    <tr>
        <td>系统管理 >> 客户管理</td>
    </tr>
    <tr>
        <td>
            查询
        </td>
    </tr>
</table>
<from >
    <table border="1" width=90% solid #505ca0>
        <tr><!--4行，11列 -->
            <td>
                客户id
            </td>
            <td colspan="10">
                <input type="text" id="custId"/>
            </td>
        </tr>
        <tr>
            <td>
                客户名称
            </td>
            <td colspan="10">
                <input type="text" id="custName"/>
            </td>
        </tr>
        <tr>
            <td>
                IC卡号
            </td>
            <td colspan="10">
                <input type="text" id="custIc"/>
            </td>
        </tr>
        <tr><td colspan="11"><input type="submit" value="查询" id="yhselect"></td></tr>
    </table></from>
<table>
    <tr><td height="50px"></td></tr>
</table>
<!--<label th:if="${session.pageInfo.size==0}" style="color: #ff4400">没有查到任何数据!请核对查询信息</label>-->
<!--<table id="table2" th:if="${session.pageInfo.size!=0}">-->
<!--    <tr><td>客户ID</td><td>客户名</td><td>客户IC</td><td>IC硬件</td><td>固话</td><td>手机号</td><td>性别</td><td>编辑时间</td></tr>-->
<!--    <tr th:each="everyCus:${session.pageInfo.getList()}"><td th:text="${everyCus.custId}"></td><td th:text="${everyCus.custName}"></td><td th:text="${everyCus.custIc}"></td><td th:text="${everyCus.custIcChip}"></td><td th:text="${everyCus.custTel}"></td><td th:text="${everyCus.custMobile}"></td><td th:text="${everyCus.custSex}"></td><td th:text="${everyCus.custEditTime}"></td></tr>-->
<!--    <tr><button th:value="${session.pageInfo.getPageNum()>1?session.pageInfo.getPageNum()-1:session.pageInfo.getPageNum()}" onclick="lastpage(this.value)">上一页</button>-->
<!--        <button th:value="${session.pageInfo.getPageNum()<session.pageInfo.getSize()?session.pageInfo.getPageNum()+1:session.pageInfo.getPageNum()}" onclick="lastpage(this.value)">下一页</button></tr>-->
<!--</table>-->
    <div id="page">
        <button id="up">上一页</button>
        <select  id="pageSize">
            <option>15</option>
            <option>5</option>
            <option>10</option>
        </select>
        <button id="down">下一页</button>
    </div>
    <div  id="td1" ></div>

    <table>
        <tr><td height="50px">客户信息</td></tr>
    </table>

    <form>
        <table border="1" width=90% ><!-- 11行11列-->
            <tr>
                <td>
                    货主编号
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    货主名称
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    IC卡编号
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    固定电话
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    手机号码
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    性别
                </td>
                <td colspan="10">
                    <input id="man" type="radio" checked="checked" name="sex"/>男
                    <input type="radio" name="sex" />女
                </td>
            </tr>

            <tr>
                <td>
                    备注
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    编辑时间
                </td>
                <td colspan="10">
                    <input type="text"/>
                </td>
            </tr>

            <tr>
                <td>
                    状态
                </td>
                <td colspan="10">
                    <input id="state" type="radio" checked="checked" name="state"/>删除
                    <input type="radio" name="state" />活动
                </td>
            </tr>

            <tr>
                <td>

                </td>
                <td colspan="10">

                    <button type="button">提交</button>
                    <button type="button">重置</button>
                </td>
            </tr>
        </table>
    </form>
</body>
<!--<script type="text/javascript">-->
<!--    function lastpage(page) {-->
<!--        var custName = $("#custName").val();-->
<!--        var custIC = $("#custIC").val();-->
<!--        var custID = $("#custID").val();-->
<!--        var pagerows = $("#pageRows").val();-->
<!--        window.location = "xitong_selectCustomer.do?pageNum="+page+"&pageRows="+pagerows+"&custName="+custName+"&custIC="+custIC+"&custID="+custID;-->
<!--    }-->
<!--    function lastpage1(row) {-->
<!--        var custName = $("#custName").val();-->
<!--        var custIC = $("#custIC").val();-->
<!--        var custID = $("#custID").val();-->
<!--        var pageNum = $("#pageNum").val();-->
<!--        window.location = "xitong_selectCustomer.do?pageNum="+pageNum+"&pageRows="+row+"&custName="+custName+"&custIC="+custIC+"&custID="+custID;-->
<!--    }-->
<!--</script>-->
</html>
